Class CryptorProviderImpl

    • Constructor Detail

      • CryptorProviderImpl

        public CryptorProviderImpl()
    • Method Detail

      • provide

        public org.cryptomator.cryptolib.v2.CryptorImpl provide​(Masterkey masterkey,
                                                                SecureRandom random)
        Description copied from interface: CryptorProvider
        Creates a new Cryptor instance for the given key
        Specified by:
        provide in interface CryptorProvider
        Parameters:
        masterkey - The key used by the returned cryptor during encryption and decryption
        random - A native (if possible) SecureRandom used to seed internal CSPRNGs
        Returns:
        A new cryptor