local v = "0.1.0"

package = "bgcrypto-pbkdf2"
version = v .. "-1"

source = {
  url = "https://github.com/moteus/lua-bgcrypto-sha/archive/v" .. v .. ".zip",
  dir = "lua-bgcrypto-sha-" .. v,
}

description = {
  summary  = "Password-Based Key Derivation Function 2",
  homepage = "https://github.com/moteus/bgcrypto-sha",
  detailed = [[Work with SHA1/SHA2/MD5/RIPEMD160/etc. hash algorithms.]];
  license = "BSD",
}

dependencies = {
  "lua >= 5.1, < 5.4",
  -- "bit32",
}

build = {
  copy_directories = {},

  type = "builtin",

  modules = {
    ['bgcrypto.private.bit'] = 'src/lua/private/bit.lua',
    ['bgcrypto.pbkdf2']      = 'src/lua/pbkdf2.lua'
  }
}

