lazy_rsa 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lazy_rsa.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efad11cd31d73aa3039a04ab64284a855615bb8d407691072cb846e56dfcacdc
4
- data.tar.gz: f3fb62707f1b43cc4b3cd24dddad6729e3eb3843e268f8414f063f3da4c452a5
3
+ metadata.gz: 7c8aba055f8175f3bd6149e29ceb1dbfe9a19664ddb350e16a80238b84f5ba48
4
+ data.tar.gz: d673fd5393b4c83c40551d7de2b2a52efb7ffef5ca6b03d3ccd014622f191a03
5
5
  SHA512:
6
- metadata.gz: 260d5aac97e2ff84c940bc085599fae770a4f545d94127b2bfe133fe1257e3fcef379851a8028d14b8ff2fd025eaff4ecb933ca766345d724b92aeb9fef40a10
7
- data.tar.gz: '088f1d7a2ceafe1c04270bce0b5b28172a659a51acb5b7f068aaedb0902b887088e67cecc28902fc79d32500e9b3a33a9b5a6c9a413731e33924fe4bf92d2e80'
6
+ metadata.gz: fa10c9d3755c5cdd660a31ec532be9e5018ab34b6c5025eb11c5a55ee4548f8f273f7af0a224e4905e46c271bed18edbaee499162df64d113ac77907a3f172cc
7
+ data.tar.gz: c524ab6edbc2ab893a5b8e94d8e6011b6f4e47c8da5f25a01769dc2db50bd713b7417bafac09ee8b96f1de8a66414b05c760dfa6df8e754640c117f6f3325ad8
data/lib/lazy_rsa.rb CHANGED
@@ -21,7 +21,7 @@ module LazyRsa
21
21
  phi = (p - 1) * (q - 1)
22
22
  end
23
23
  n = p * q
24
- e = p.mod_exp(Constants::SECURE_EXPONENT, Constants::SECURE_MODULUS)
24
+ e = p.mod_exp(LazyRsa::Constants::SECURE_EXPONENT, LazyRsa::Constants::SECURE_MODULUS)
25
25
  d = e.mod_inverse(phi)
26
26
 
27
27
  build_key(e:, d:, n:)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_rsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Quaranto