Improve overload of Cryptography/Format function