Pedro Pombeiro
c243ae5a66
Add makefile with lint support ( #4 )
2018-08-21 11:18:46 +02:00
Ivan Tomilov
37688f542c
(unstable) Moved chains to a separate file
2017-06-19 09:22:17 +07:00
Ivan Tomilov
9367c98eac
(unstable) Implemented RatchetDecryptHE
2017-06-17 00:09:18 +07:00
Ivan Tomilov
ade5042528
(unstable) Implemented RatchetEncryptHE plus plenty of refactoring
...
1. Renamed state to session, created state and included it in session
2. Removed AssociatedData type
3. Implemented message header encoding and decoding
4. Added a paragraph about header encryption into README.md
5. Added PublicKeyer interface
6. Added chain structs
7. Added NewWithRK constructor
2017-06-16 20:37:46 +07:00
Ivan Tomilov
8b5f7921a6
Added comments
2017-06-14 19:42:59 +07:00
Ivan Tomilov
fffab73a03
Implemented skipped message keys deletion, switched [32]byte to Key, added KeysStorage.DeletePk
2017-06-14 13:29:46 +07:00
Ivan Tomilov
25eacbff6a
MaxSkip is now handled correctly: no more than MaxSkip messages is allowed in a single chain
2017-06-13 23:46:11 +07:00
Ivan Tomilov
3a6452c528
skippedKey now encodes the key in a more safe format
2017-06-13 16:01:13 +07:00
Ivan Tomilov
0f3c6d7af2
DHPair is now an interface
2017-06-12 20:13:34 +07:00
Ivan Tomilov
c0ae542945
Got rid off unnecessary errors handling
2017-06-12 16:16:43 +07:00
Ivan Tomilov
d83171d325
Replaced key types from []byte to [32]bytes everywhere else
2017-06-12 16:00:39 +07:00
Ivan Tomilov
4355b7a0f8
Replaced key types from []byte to [32]bytes for more reliable code
2017-06-12 15:35:58 +07:00
Ivan Tomilov
83e74f8ea7
Renamed DHKeyPair -> DHPair
2017-06-12 15:00:45 +07:00
Ivan Tomilov
bb1aab519d
Fixed compilation errors
2017-06-12 14:59:40 +07:00
Ivan Tomilov
3e18fda4fb
Implemented Decrypt
2017-06-12 14:51:37 +07:00
Ivan Tomilov
87782b9e6d
Started implementing Encrypt
2017-06-11 17:10:26 +07:00
Ivan Tomilov
6743db866e
Implemented KdfRK
2017-06-11 16:53:19 +07:00
Ivan Tomilov
683613fe6c
Moved CryptoRecommended out of crypto.go
2017-06-11 11:16:17 +07:00
Ivan Tomilov
a66cc1cf11
Implemented CryptoRecommended.GenerateDH
2017-06-11 11:15:11 +07:00
Ivan Tomilov
1e6197aa7d
Implemented Init and RatchetEncrypt functions
2017-06-10 21:41:54 +07:00