Showing posts from January, 2007

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

ipod shuffle

So i broke down and got my 2nd ipod, a 1gb ipod shuffle . Since my 4gb 1st generation ipod nano is stuck in my truck's dashboard (most likely still playing the same thing \=)) with my 'USA Spec IPOD Interface' Toyota connector. Hopefully this will be my more 'used' ipod (aka updated regularly and listened to at the office, during outdoor activities, and in the bathroom). It was set to shuffle and the first track was my favorite Kanye West track Gone . Wear your music! yay! \o/ i need to do some css editing with those dang labels. p.s. i still rule

CSS Templates and Blog Spam

So, I was perusing my other blog today and deleted a drug spam comment for the third or fourth time in as many days from one of the more recent posts. In this case, it was my friend Jake dancing in leotards... but the spam comments are always there, always posted on the top message. Prior to this, the blog spammers, people that post either poker referrals, drug purchase links, 'hot' stocks, online diplomas [almost as bad as the USC DEN program !], or money making schemes all seem to never have posted on this '...' blog. I used to think that it was because it had custom CSS that I use to display the pages, and that comment bots couldn't figure out which link to click when they came to my page. That can't be the case now though; I think that more and more pennies/day workers are being paid to drive views to sites rather than bots. I have to say that is the case, I had 15 comments my museum post which is pretty crazy considering I get like 1 unique visitor a m