Class GCMSIVCrypter

  • All Implemented Interfaces:

    public class GCMSIVCrypter
    extends Object
    implements ICrypter
    Encryption and decryption implementation using AES-256-GCM-SIV authenticated encryption. This implementation requires Bouncy Castle. It is more secure than the DefaultCrypter, but also more expensive. Simple measurements have shown DefaultCrypter to be about 10 to 15 times faster than this implementation. This is likely caused by not-so-optimal implementation of the algorithm in Java by BC. When the JDK gets support for GCM-SIV (, this implementation will likely be faster than or about as fast as CBC.