[package] name = "parity-crypto" version = "0.9.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Crypto utils used by ethstore and network." license = "MIT OR Apache-2.0" autobenches = false edition = "2018" [[bench]] name = "bench" harness = false required-features = ["publickey"] [dependencies] aes = "0.6.0" aes-ctr = "0.6.0" block-modes = "0.7.0" digest = "0.9.0" ethereum-types = { version = "0.12.0", optional = true, path = "../ethereum-types" } hmac = "0.10.1" lazy_static = { version = "1.4.0", optional = true } pbkdf2 = "0.7.3" ripemd160 = "0.9.1" rustc-hex = { version = "2.1.0", default-features = false, optional = true } scrypt = { version = "0.5.0" } secp256k1 = { version = "0.20.0", optional = true, features = ["global-context", "recovery", "rand-std"] } sha2 = "0.9.2" subtle = "2.4.0" tiny-keccak = { version = "2.0.2", features = ["keccak"] } zeroize = { version = "1.2.0", default-features = false } [dev-dependencies] criterion = "0.3.3" hex-literal = "0.3.1" [features] default = [] # public key crypto utils # moved from ethkey module in parity ethereum repository publickey = ["secp256k1", "lazy_static", "ethereum-types", "rustc-hex"]