Package org.apache.shiro.crypto

Cryptography Cipher and Hashing components that greatly simplify the JDK's cryptography concepts and add additional convenient behavior.

See:
          Description

Interface Summary
CipherService A CipherService uses a cryptographic algorithm called a Cipher to convert an original input source using a key to an uninterpretable format.
RandomNumberGenerator A component that can generate random number/byte values as needed.
 

Class Summary
AbstractSymmetricCipherService Base abstract class for supporting symmetric key cipher algorithms.
AesCipherService CipherService using the AES cipher algorithm for all encryption, decryption, and key operations.
BlowfishCipherService CipherService using the Blowfish cipher algorithm for all encryption, decryption, and key operations.
DefaultBlockCipherService Base abstract class for block cipher algorithms.
JcaCipherService Abstract CipherService implementation utilizing Java's JCA APIs.
SecureRandomNumberGenerator Default implementation of the RandomNumberGenerator interface, backed by a SecureRandom instance.
 

Enum Summary
OperationMode A cipher mode of operation directs a cipher algorithm how to convert data during the encryption or decryption process.
PaddingScheme A CipherPaddingScheme represents well-known padding schemes supported by JPA providers in a type-safe manner.
 

Exception Summary
CryptoException Base Shiro exception for problems encountered during cryptographic operations.
UnknownAlgorithmException Exception thrown when attempting to lookup or use a cryptographic algorithm that does not exist in the current JVM environment.
 

Package org.apache.shiro.crypto Description

Cryptography Cipher and Hashing components that greatly simplify the JDK's cryptography concepts and add additional convenient behavior.

The most important interface in this package is the CipherService interface, which allows one to encrypt and decrypt sensitive data.



Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.