Decrypt takes a hex-encoded binary ciphertext and decrypts it or returns an error if the decryption failed. If the ciphertext is empty a nil byte slice is returned.
(ctx context.Context, encrypted string)
| 18 | // |
| 19 | // If the ciphertext is empty a nil byte slice is returned. |
| 20 | Decrypt(ctx context.Context, encrypted string) ([]byte, error) |
| 21 | } |
| 22 | |
| 23 | type Provider interface { |
no outgoing calls