Keel 2.1RC2

org.keel.services.crypto.base64
Class Base64

java.lang.Object
  extended byorg.keel.services.crypto.AbstractEncryptor
      extended byorg.keel.services.crypto.base64.Base64
All Implemented Interfaces:
Encryptor

public class Base64
extends AbstractEncryptor


Field Summary
 
Fields inherited from class org.keel.services.crypto.AbstractEncryptor
ROLE
 
Constructor Summary
Base64()
           
 
Method Summary
 byte[] decrypt(byte[] bdata)
          Decrypt the data according to the appropriate algorithm.
 byte[] encrypt(byte[] inBuffer)
          Encrypt the specified data according to the appropriate algorithm.
 void setKey(java.lang.String newKey)
          The Key isn't use for this kind of simple encryption
 
Methods inherited from class org.keel.services.crypto.AbstractEncryptor
hash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

decrypt

public byte[] decrypt(byte[] bdata)
               throws java.lang.IllegalArgumentException
Description copied from interface: Encryptor
Decrypt the data according to the appropriate algorithm.

Specified by:
decrypt in interface Encryptor
Specified by:
decrypt in class AbstractEncryptor
Throws:
java.lang.IllegalArgumentException

encrypt

public byte[] encrypt(byte[] inBuffer)
               throws java.lang.IllegalArgumentException
Description copied from interface: Encryptor
Encrypt the specified data according to the appropriate algorithm.

Specified by:
encrypt in interface Encryptor
Specified by:
encrypt in class AbstractEncryptor
Throws:
java.lang.IllegalArgumentException

setKey

public void setKey(java.lang.String newKey)
The Key isn't use for this kind of simple encryption

Specified by:
setKey in interface Encryptor
Specified by:
setKey in class AbstractEncryptor

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.