View | Details | Return to bug 28204 | Differences between
and this patch

Collapse All | Expand All

(-)PBEKeySpec.java (-1 / +2 lines)
Lines 113-119 Link Here
113
  public PBEKeySpec(char[] password, byte[] salt, int iterationCount,
113
  public PBEKeySpec(char[] password, byte[] salt, int iterationCount,
114
                    int keyLength)
114
                    int keyLength)
115
  {
115
  {
116
    this.password = password;
116
    this.password = new char[password.length];
117
    System.arraycopy(password, 0, this.password, 0, password.length );
117
    this.salt = salt;
118
    this.salt = salt;
118
    this.iterationCount = iterationCount;
119
    this.iterationCount = iterationCount;
119
    this.keyLength = keyLength;
120
    this.keyLength = keyLength;

Return to bug 28204