Skip to content

Instantly share code, notes, and snippets.

View adelcambre's full-sized avatar

Andy Delcambre adelcambre

View GitHub Profile

Recursive encryption/decryption

The benefit of this approach is simple: The original passphrase can't be brute-forced from only the encrypted result without trying all the recusrive encryptions and knowing how many recusion levels were used during encryption.

Test

echo hello | red e world | tee hello-world.enc.txt | red d world

Now the hello-world.enc.txt file is "hello" encrypted recursively using sha512-recursive digests of the "world" passphrase.

@adelcambre
adelcambre / .gitignore
Created January 24, 2013 23:48 — forked from FND/.gitignore
*.pyc
This is public
@adelcambre
adelcambre / gist:4381596
Last active December 10, 2015 04:28
Places to eat, drink and be merry in Washington, DC area.

TODO in DC

Restaurants

Fancy

  • minibar - Super spendy, super amazing looking tasting menu
  • Black salt
  • Zatinia
  • Kushi
@adelcambre
adelcambre / gist:4325305
Created December 18, 2012 05:26 — forked from schacon/gist:1
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
@adelcambre
adelcambre / foo.rb
Created December 7, 2012 19:21
foobarzotbangbaz
def foo
end
test
test
test
test
test
@adelcambre
adelcambre / foo.rb
Created December 4, 2012 00:30
foobarzotbangbaz kajsdlfjkl lkdsjljflj Queued up "Stylo (feat. Mos Def & Bobby Womack)" by Gorillaz,"Cloud of Unknowing (feat. Bobby Womack & sinfonia ViVA)" by Gorillaz,"Pirate's Progress" by Gorillaz,"White Flag (feat. Bashy, Kano & The National Orches
def foo
"foobarzotbangbaz"
end
testing 00-metro
testing 00-metro
blah