B C D E G M

B

Base64 - Class in ca.krasnay.crypt
A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045.

On Windows XP sp1 with 1.4.2_04 and later ;), this encoder and decoder is about 10 times faster on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes) compared to sun.misc.Encoder()/Decoder().

On byte arrays the encoder is about 20% faster than Jakarta Commons Base64 Codec for encode and about 50% faster for decoding large arrays.
Base64() - Constructor for class ca.krasnay.crypt.Base64
 

C

ca.krasnay.crypt - package ca.krasnay.crypt
 

D

decode(char[]) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded char array.
decode(byte[]) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded byte array.
decode(String) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded String.
decodeFast(char[]) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded char array that is known to be resonably well formatted.
decodeFast(byte[]) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded byte array that is known to be resonably well formatted.
decodeFast(String) - Static method in class ca.krasnay.crypt.Base64
Decodes a BASE64 encoded string that is known to be resonably well formatted.
decrypt(String) - Method in interface ca.krasnay.crypt.EncryptionService
Decrypts the given cipher text to a byte array.
decrypt(String) - Method in class ca.krasnay.crypt.EncryptionServiceImpl
 
decryptString(String) - Method in interface ca.krasnay.crypt.EncryptionService
Decrypts the given cipher text as a UTF-8 encoded string.
decryptString(String) - Method in class ca.krasnay.crypt.EncryptionServiceImpl
 

E

encodeToByte(byte[], boolean) - Static method in class ca.krasnay.crypt.Base64
Encodes a raw byte array into a BASE64 byte[] representation i accordance with RFC 2045.
encodeToChar(byte[], boolean) - Static method in class ca.krasnay.crypt.Base64
Encodes a raw byte array into a BASE64 char[] representation i accordance with RFC 2045.
encodeToString(byte[], boolean) - Static method in class ca.krasnay.crypt.Base64
Encodes a raw byte array into a BASE64 String representation i accordance with RFC 2045.
encrypt(byte[]) - Method in interface ca.krasnay.crypt.EncryptionService
Encrypts a byte array.
encrypt(byte[]) - Method in class ca.krasnay.crypt.EncryptionServiceImpl
 
EncryptionService - Interface in ca.krasnay.crypt
Encryption service, used to encrypt data stored in the database.
EncryptionServiceImpl - Class in ca.krasnay.crypt
 
EncryptionServiceImpl(List<String>) - Constructor for class ca.krasnay.crypt.EncryptionServiceImpl
 
encryptString(String) - Method in interface ca.krasnay.crypt.EncryptionService
Encrypts the UTF-8 encoded bytes of the given string.
encryptString(String) - Method in class ca.krasnay.crypt.EncryptionServiceImpl
 

G

generateKey() - Method in interface ca.krasnay.crypt.EncryptionService
Generates a new key for this service.
generateKey() - Method in class ca.krasnay.crypt.EncryptionServiceImpl
 
GenerateKey - Class in ca.krasnay.crypt
 
GenerateKey() - Constructor for class ca.krasnay.crypt.GenerateKey
 

M

main(String[]) - Static method in class ca.krasnay.crypt.GenerateKey
 

B C D E G M

Copyright © 2015. All rights reserved.