crypto-toolbox 0.1.11 → 0.1.12

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/bin/break-padding-oracle +11 -0
  3. metadata +3 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdd99e3ce62f22f02f795da59cc1f8b543e227b6
4
- data.tar.gz: cc192b11d8368034f427a520ce187d4ae22def74
3
+ metadata.gz: 892b1c0437402343855d625ad56512dbb7ea973a
4
+ data.tar.gz: afb0e92074b090c3fc5c252e9fdd00b3cf94659d
5
5
  SHA512:
6
- metadata.gz: 8ab6e8349e86a0a8f4e8d59d29071e947e158aca611841a3838f8e79ab9af3697df6842d17a0b3f59c63327607f42036b92de767e65e215e0cda5a42c5e11350
7
- data.tar.gz: 3ea4f85090f439fd204a68a644ac44cd4d95978546c208906393252f506bc49e441d9dbeb339ce4ff9789c3a5f28a13ab3fb3766523468db45e488844ba466bf
6
+ metadata.gz: 605c120ec492c10472f7119b62f46217b062d268a9c07818ea96da31365f3dd8cd392ef04e2d0278e321cb3271f17021afa66cec14af583e9f1de5b4620bfc53
7
+ data.tar.gz: 10cb8542f4a3fdf662622be45d03a417a336e968a5dee04317b5afc855e3e5165465f3ed8ec14fdee6ea833fb2312ae3a73d754ec3ba0f4fdd8e0e168746eb62
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'crypto-toolbox'
4
+
5
+ if ARGV[0].nil?
6
+ $stderr.puts "Missing Argument: Ciphertext (hexstring)"
7
+ else
8
+ ciphertext = ARGV[0]
9
+
10
+ Analyzers::PaddingOracle::Analyzer.new.analyze(ciphertext)
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypto-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Sivia
@@ -43,9 +43,11 @@ description: |2
43
43
  email: dev@d-coded.de
44
44
  executables:
45
45
  - break-vigenere-xor
46
+ - break-padding-oracle
46
47
  extensions: []
47
48
  extra_rdoc_files: []
48
49
  files:
50
+ - bin/break-padding-oracle
49
51
  - bin/break-vigenere-xor
50
52
  - lib/crypto-toolbox.rb
51
53
  - lib/crypto-toolbox/analyzers/padding_oracle.rb