20 EYLÜL 2011, Salı
Nasıl node.js Kripto HMAC-SHA1 hash oluşturmak için kullanılır?
Karma oluşturmak istiyorum "I love cupcakes
" (anahtar ile imzalanmış "") abcdeg
Nasıl bir karma , node.js Kripto kullanarak oluşturabilirim?
CEVAP
20 EYLÜL 2011, Salı
Kripto belgeler: http://nodejs.org/api/crypto.html
var crypto = require('crypto')
, text = 'I love cupcakes'
, key = 'abcdeg'
, hash
hash = crypto.createHmac('sha1', key).update(text).digest('hex')
Bunu Paylaş:
Nasıl node.js KİMLİĞİ olarak kullanmak...
Nasıl Node.js HTTPS sunucusu oluşturma...
Nasıl Fabrika Kızı Ataç Bir Eki Oluştu...
Nasıl define_method sınıf yöntemleri o...
Nasıl Bash ise't zaten yok öyle b...