Skip to content

hanachin/mruby-pkcs5

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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