Crypto aes #58

Closed
wants to merge 17 commits into
from

Conversation

Projects
None yet
2 participants
@jetien
Contributor

jetien commented Dec 17, 2013

No description provided.

jetien and others added some commits Dec 13, 2013

add advanced encrypt/decrypt methods
according to crypto-service new implements, this 2 new advanced functions to encrypt/decrypt allow interoperable AES encryption with Java and JavaScript
Fix issue #53
Small typo in documentation

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add a test checking the new AES methods
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Change how is initialized the AES key size and iterations
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Remove useless methods
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Remove the fail method
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Replace the base64 methods.
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Remove hex methods
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Refactor constructor
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Change test to use a better secret key.
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Change initialization parameters.
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Add two new methods and refactoring
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
update crypto methods (with and without salt parameter)
- update basic encrypt/decrypt methods to use default IV param
- update advanced methods to use the generate salt
- add method to generate random salt
- get default IV param on Contructor
change test according to new methods
- basic encryption with privateKey
- advanced  encryption with privateKey and (random) salt param
- all encryption methods use IV param
@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Dec 22, 2013

Member

Integrated in master.

Member

cescoffier commented Dec 22, 2013

Integrated in master.

@cescoffier cescoffier closed this Dec 22, 2013

@jetien jetien deleted the jetien:crypto-aes branch Jan 20, 2014

@cescoffier cescoffier added this to the 0.4.0 milestone Apr 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment