Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm
In directory sc8-pr-cvs1:/tmp/cvs-serv5381/src/org/beepcore/beep/profile/sasl/otp/algorithm
Modified Files:
Tag: PIGGYBACKED
AlgorithmImpl.java
Log Message:
lower-case seed and passphrase
Index: AlgorithmImpl.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/profile/sasl/otp/algorithm/AlgorithmImpl.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** AlgorithmImpl.java 5 Oct 2002 15:11:18 -0000 1.3
--- AlgorithmImpl.java 1 Sep 2003 18:35:29 -0000 1.3.2.1
***************
*** 74,78 ****
throws InvalidParameterException
{
! return generateHash(s.getBytes());
}
--- 74,78 ----
throws InvalidParameterException
{
! return generateHash(s.toLowerCase().getBytes()); ///@TODO use encoding
}
|