Skip to content

Instantly share code, notes, and snippets.

@MarcoSignoretto
Created May 9, 2023 05:20
Show Gist options
  • Save MarcoSignoretto/9e38b5fa414af360f869ef4c675de344 to your computer and use it in GitHub Desktop.
Save MarcoSignoretto/9e38b5fa414af360f869ef4c675de344 to your computer and use it in GitHub Desktop.
interface SecurityKey
interface BinaryData
interface StringCipher {
fun encrypt(securityKey: SecurityKey, plainData: String): BinaryData
fun decrypt(securityKey: SecurityKey, encryptedData: BinaryData): String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment