Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published
You can’t perform that action at this time.