diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-24 15:34:17 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-06-24 15:34:44 +0200 |
commit | 25190e43369a79dc77a740dc8cd28b8a9fcb235e (patch) | |
tree | b7057627e0710fe9ef40c077a204904c78bed9cc /src/keypair.go | |
parent | 521e77fd54fba275405affd790ac91f7998e4559 (diff) |
Restructuring of noise impl.
Diffstat (limited to 'src/keypair.go')
-rw-r--r-- | src/keypair.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/keypair.go b/src/keypair.go new file mode 100644 index 0000000..22a8244 --- /dev/null +++ b/src/keypair.go @@ -0,0 +1,12 @@ +package main + +import ( + "crypto/cipher" +) + +type KeyPair struct { + recieveKey cipher.AEAD + recieveNonce NoiseNonce + sendKey cipher.AEAD + sendNonce NoiseNonce +} |