org.xmlBlaster.authentication.plugins.demo
Class ReversibleCrypt
java.lang.Object
org.xmlBlaster.authentication.plugins.demo.ReversibleCrypt
class ReversibleCrypt
- extends java.lang.Object
A totally unsecure reversible crypt algorythm
Method Summary |
(package private) byte[] |
crypt(byte[] dc2Value)
|
(package private) java.lang.String |
crypt(java.lang.String dc2Value)
|
(package private) byte[] |
decrypt(byte[] dc2Value)
|
(package private) java.lang.String |
decrypt(java.lang.String dc2Value)
|
private byte[] |
rot13crypt(byte[] byteArr)
Rotates the chars 23 forward, the next time called
it rotates again for 23 chars, so we have the
decrypted string again |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReversibleCrypt
ReversibleCrypt()
rot13crypt
private byte[] rot13crypt(byte[] byteArr)
- Rotates the chars 23 forward, the next time called
it rotates again for 23 chars, so we have the
decrypted string again
crypt
byte[] crypt(byte[] dc2Value)
decrypt
byte[] decrypt(byte[] dc2Value)
crypt
java.lang.String crypt(java.lang.String dc2Value)
decrypt
java.lang.String decrypt(java.lang.String dc2Value)
Copyright © 1999-2014 The xmlBlaster.org contributers.