working on CryptoPhotoUtils