Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHA1 library for Javascript #7

Closed
jinroh opened this issue Oct 19, 2011 · 6 comments
Closed

SHA1 library for Javascript #7

jinroh opened this issue Oct 19, 2011 · 6 comments

Comments

@jinroh
Copy link
Owner

jinroh commented Oct 19, 2011

Find a good SHA1 library for javascript

@jinroh jinroh closed this as completed Oct 19, 2011
@alexstrat
Copy link
Collaborator

So what ?

@jinroh
Copy link
Owner Author

jinroh commented Oct 19, 2011

Ben j'ai mis du temps à trouver un truc qui paraissait vraiment potable et puis je suis tomber sur des librairies maintenues par google alors je me suis dis que c'était pas mal : crypto-js que ça s'appelle.

Le fichier est déjà minifier, ce qui n'est pas forcément cool mais bon...

@alexstrat
Copy link
Collaborator

Si tu peux trouver les sources (http://code.google.com/p/crypto-js/downloads/detail?name=Crypto-JS%20v2.5.1.zip&can=2&q=) et prendre seulement les algos dont on a besoin (on a pas de besoin de AES etc. ?) en mode decompiler : sha1/sha1.js ou sha256/sha256.js. Attention parce que dans SHA on a quand même besoin du package crypto/crypto.js

@alexstrat alexstrat reopened this Oct 19, 2011
@alexstrat
Copy link
Collaborator

Du coup on a le controle sur le namespace

@jinroh
Copy link
Owner Author

jinroh commented Oct 19, 2011

Ouai c'est ce que j'avais vu. Je vais intégrer les deux fichiers en un si tu veux

@jinroh jinroh closed this as completed Oct 19, 2011
@jinroh
Copy link
Owner Author

jinroh commented Oct 19, 2011

Done

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

No branches or pull requests

2 participants