Skip to content

hanachin/mruby-pkcs5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-pkcs5 Build Status

Provide PKCS5 functionality with mruby-digest

Installation

Add this line to build_config.rb

MRuby::Build.new do |conf|
  conf.gem github: 'hanachin/mruby-pkcs5'
end

or add this line to your aplication's mrbgem.rake

MRuby::Gem::Specification.new('your-mrbgem') do |spec|
  spec.add_dependency 'mruby-pkcs5', github: 'hanachin/mruby-pkcs5'
end

Usage

p = 'password'
s = 'salt'
c = 1
dk_len = 20
digest = Digest::SHA1
PKCS5.pbkdf2_hmac(p, s, c, dk_len, digest)

How to run test

$ git clone https://github.com/hanachin/mruby-pkcs5.git
$ cd mruby-pkcs5
$ ./test.sh

License

MIT

About

Provide PKCS5 functionality with mruby-digest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published