| | |
| | | finally |
| | | { |
| | | if (plaintextBytes != null) |
| | | { |
| | | Arrays.fill(plaintextBytes, (byte) 0); |
| | | } |
| | | } |
| | | |
| | | return ByteString.wrap(digestBytes); |
| | |
| | | finally |
| | | { |
| | | if (plaintextBytes != null) |
| | | { |
| | | Arrays.fill(plaintextBytes, (byte) 0); |
| | | } |
| | | } |
| | | return ByteString.valueOf(output); |
| | | } |
| | |
| | | finally |
| | | { |
| | | if (plaintextBytes != null) |
| | | { |
| | | Arrays.fill(plaintextBytes, (byte) 0); |
| | | } |
| | | } |
| | | return ByteString.valueOf(output); |
| | | } |
| | |
| | | finally |
| | | { |
| | | if (plaintextPasswordBytes != null) |
| | | { |
| | | Arrays.fill(plaintextPasswordBytes, (byte) 0); |
| | | } |
| | | } |
| | | |
| | | return userPWDigestBytes.equals(storedPassword); |
| | |
| | | finally |
| | | { |
| | | if (plaintextPasswordBytes != null) |
| | | { |
| | | Arrays.fill(plaintextPasswordBytes, (byte) 0); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | finally |
| | | { |
| | | if (plaintextPasswordBytes != null) |
| | | { |
| | | Arrays.fill(plaintextPasswordBytes, (byte) 0); |
| | | } |
| | | } |
| | | } |
| | | |