Using PyCrypto with Spring Crypto/Spring Security Default Encoders

Spring Crypto Encryptor Details The Spring Crypto module is amazing. Secure defaults using standard interfaces really make it a pleasure to use, and with it being full tested and vetted, it also gives a develoepr the warm fuzzy feelings of nice Java security implentation. The standard interface is through the  org.springframework.security.crypto.encrypt.Encryptors class, defined (in version 3.2.0 here (the class API to which this blog post was written in July 2016). Spring Crypto uses AES256 encryption behind the scenes in its out of the box class setup; it's as easy as: In the above code snippet, the password  variable is a passcode, with the salt  variable used to create the AES key. It uses 256 bit encryption with the standard calls (depending on your JRE/Java Cryptography Extension (JCE) Setup, make sure to download the appropriate extension ). The default AESBytesEncryptor setup generates a 256 bit key (32 bytes) from a salted iteration done 1024 times. Another th

Below the Hard Deck

So this weekend on Saturday, I will be playing in the Annual Top Gun Volleyball Tournament down in Neuport Beach (is it 'Neuport' or 'Newport'? does it matter?). I know that shennanigan's will ensue, either at the tourney or at the "Officer's Party" afterwards.

I'll update this post this weekend with the outcome, <bad top gun pun>hopefully the pattern won't be full and there will be points for second place.</bad topgun pun>




Update: Our team, 'Trough Gun' went 0-4. The level of competition has escalated in the past years; the Maverick division 6-man teams (of which we were 1 of 14) had various levels of sportsmanship (i.e. inverse ratio of drinking ability to seriousness) and teamwork (i.e. multiple blockers, short sets, outsite calls, back sets, and various other indoor club team abilities). Our team, wrapped only in our towels (with our dog tags!) and talking about the hard-deck on our gym bench (from ikea) did hit the booze early, and retired to the showers before the playoffs because of the four of us, only two played college volleyball. I guess you needed all six. The rally scoring to 17 wasn't helping either: games lasted about 8 minutes each.

Highlights tho when we threw our dogtags into the ocean to remind ourselves about our fallen comrades, and how things could have been different if we weren't projected into a flat spin on takeoff.

The surf was good though even with the sticky redtide.

Comments

Anonymous said…
Now you've got me thinking. I really enjoy this blog, I'll definitely pop around more often, keep it up!

Feel free to pay a visit to my Canada immigration site. It might not be your "cup of tea", but it covers Canada immigration related topics.
Anonymous said…
yes! i'm not the only one being blog-spammed!
Anonymous said…
is there and over/under number on the articles of clothing that randomly get destroyed
tmarthal said…
its not random, it makes sense in my brain.
tmarthal said…
also, is that first guy some random guerilla-marketer?
Matthew said…
I was going to sign up to play as well; but I heard the list of teams was long and distinguished...quite unlike birddogs Johnson.

Popular posts from this blog

Spring Framework Sample Main Method

My Yahoo! Answers Science Post