Playing with security and cryptography APIs