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

Importing Old Items

I have finally imported my old items from my previous blog and updated the blogger.com interface to get the exact format that I wanted... it had to simulate the '1996' html so reminiscent of my early college page posting, but still use a web interface tool(deward says: "Welcome to 2005"). It is nice that blogger/blogspot gives us (intraweb progamamarts) the tools to hack at the published website html itself instead of relying on a limited amount of css templates designed by others (as seems to be the case at bloglines.com). I guess I have a problem using technology that I don't understand that was written by other people.

Now the only problem with this thing is posting content that is worthy of the name: i am finding that i hardly ever care about the opinions and happenings of other random people, so why should they care about mine? In fact, I was going to blog about how I try never to use any automation or tool that I do not understand in my scripting and programming (which is inherently what blogger.com does), but then realized that was not only not the case, but that i couldn't decipher my thoughts enough on the subject to make a coherent argument why people should not use tools that they didnt write themselves or understand enough to customize with the features that they want. I guess i was just going to take a cheap stab at non-technical people using the internets the same way that I do.

After that tech post, I was going to blog about how I stopped buying 'adult vitamins' that i would never take. I now bought some Flinstone's vitamins instead that I take everyday (since they are chewable and what color i get determines the type of day I will have). My point being that taking a not-as-good-for-you vitamin everyday is better than never taking a the-best-ever vitamin. That was Zen, this is Dao.

Comments

Popular posts from this blog

Spring Framework Sample Main Method

My Yahoo! Answers Science Post