public interface SecretEncryptionService
Modifier and Type | Method and Description |
---|---|
@NotNull String |
decrypt(@NotNull String encryptedSecret)
Decrypts the supplied secret.
|
@NotNull String |
encrypt(@NotNull String secretToEncrypt)
Encrypts the supplied string.
|
boolean |
isDecryptable(@NotNull String encryptedSecret) |
boolean |
isEncrypted(@NotNull String string)
Whether the supplied string has been encrypted by this service.
|
boolean isEncrypted(@NotNull @NotNull String string)
boolean isDecryptable(@NotNull @NotNull String encryptedSecret)
@NotNull @NotNull String decrypt(@NotNull @NotNull String encryptedSecret)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.