Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

PK Sealed box (Optional) #80

Open
rsoeldner opened this issue Dec 20, 2017 · 0 comments
Open

PK Sealed box (Optional) #80

rsoeldner opened this issue Dec 20, 2017 · 0 comments

Comments

@rsoeldner
Copy link
Collaborator

rsoeldner commented Dec 20, 2017

Do we want to add this ?
https://download.libsodium.org/doc/public-key_cryptography/sealed_boxes.html

I mean we could add it to the CryptoBox object with something like:

def seal[F[_]](implicit F: Sync[F], S: ScalaSodium): F[SodiumCipherText[CryptoBox]] 

and

def sealOpen[F[_]](implicit F: Sync[F], S: ScalaSodium): F[Plaintext] 

@jmcardon What do you think ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant