Interface SecretEncryptionServiceInternal

    • Method Detail

      • isEncrypted

        boolean isEncrypted​(@NotNull
                            @NotNull String string)
        Whether the supplied string has been encrypted by this service.
      • decrypt

        @NotNull
        @NotNull String decrypt​(@NotNull
                                @NotNull String encryptedSecret)
        Decrypts the supplied secret.
      • encrypt

        @NotNull
        @NotNull String encrypt​(@NotNull
                                @NotNull String secretToEncrypt)
        Encrypts the supplied string.
      • reloadCipher

        void reloadCipher()
        Enforce reloading current cipher.