RSA、AES暗号をJavaScriptで実現できる「cryptico.js」
2011年09月02日-
スポンサード リンク
cryptico.js - An easy-to-use strong encryption system utilizing RSA and AES for javascript.
RSA、AES暗号をJavaScriptで実現できる「cryptico.js」
JavaScriptで複雑な暗号化アルゴリズムを簡単に実現するライブラリです。

RSAキーの生成には次のようなコードを書くだけです。
// The passphrase used to repeatably generate this RSA key.
var PassPhrase = "The Moon is a Harsh Mistress.";
// The length of the RSA key, in bits.
var Bits = 1024;
var MattsRSAkey = cryptico.generateRSAKey(PassPhrase, Bits);
この暗号化鍵を用いてテキストを暗号化します
var PlainText = "Matt, I need you to help me with my Starcraft strategy.";
var EncryptionResult = cryptico.encrypt(PlainText, MattsPublicKeyString);
クライアントサイドでブラウザ上で実現したい場合に使えますね
関連エントリ
RSA、AES暗号をJavaScriptで実現できる「cryptico.js」
JavaScriptで複雑な暗号化アルゴリズムを簡単に実現するライブラリです。

RSAキーの生成には次のようなコードを書くだけです。
// The passphrase used to repeatably generate this RSA key.
var PassPhrase = "The Moon is a Harsh Mistress.";
// The length of the RSA key, in bits.
var Bits = 1024;
var MattsRSAkey = cryptico.generateRSAKey(PassPhrase, Bits);
この暗号化鍵を用いてテキストを暗号化します
var PlainText = "Matt, I need you to help me with my Starcraft strategy.";
var EncryptionResult = cryptico.encrypt(PlainText, MattsPublicKeyString);
クライアントサイドでブラウザ上で実現したい場合に使えますね
関連エントリ
スポンサード リンク
Advertisements
SITE PROFILE
最新のブログ記事(新着順)
- CSSやTailwindでのCSSスニペットライブラリ「CSS Snippets Library」
- AIを使ってサイトマップが作れる「Octopus.do」
- ライブラリ依存のないモーダルオープンライブラリ「Blendy」
- 個性的な明朝フリーフォント「築豊初号明朝OFL」
- CSSで太陽が差し込むようなアニメーション実装
- 可愛くアニメーションする「beautifully crafted animated icons」
- アイソメトリックなアイコンがアイコンがPNG,SVGでゲットできる「Isoicons」
- ユニークなカタカナフォントtorisippo
- 美しいメッシュグラデーションをCSSで簡単に取得できる「MSHR」
- TailwindCSSなサイトで使える100以上のアニメーションエフェクト「animata」
- 過去のエントリ