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 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

Blog Code Formatting

Note (2012): This post was about a previous webdesign, and no longer applicable.

I finally added code formatting to my blog. I used a completely 'client side' javascript library called syntaxhighlighter, hosted on Google Code. Note that I'm currently linking javascript directly from their web facing SVN repository, so I'm not sure how stable it is (but hosting it on googlepages didn't seem to work (they disallow js linking I believe)).

Although it is a technology blog, I thought I posted more code about stuff. I only seem to have two posts where I actually put up any code (But maybe that's because it was horribly formatted?), and they now both have pretty Java and XML formatting:

Maybe one of these days, I'll find use for a blog again. The whole concept of blogging seems so dead.


Anonymous said…
In searching for sites related to web hosting and specifically comparison hosting linux plan web, your site came up.
Anonymous said…
i truthfully love your writing way, very remarkable,
don't quit as well as keep creating seeing that it simply worth to follow it,
excited to look over much more of your current content articles, good bye :)

Popular posts from this blog

Spring Framework Sample Main Method

My Yahoo! Answers Science Post