Class NoCrypt

  • All Implemented Interfaces:
    ICrypt

    public class NoCrypt
    extends Object
    implements ICrypt
    Due to legal reasons in some countries the JRE is shipped without a security provider. As a convenience solution, we provide a default implementation which does not encrypt/decrypt the data. It does not modify the data at all. Thus we strongly recommend not to use it for production sites.
    Author:
    Juergen Donnerstag
    • Constructor Detail

      • NoCrypt

        public NoCrypt()
        Constructor
    • Method Detail

      • setKey

        public void setKey​(String key)
        Set encryption private key
        Specified by:
        setKey in interface ICrypt
        Parameters:
        key - private key to make de-/encryption unique