Asynchronous implementation of Cryptographic API based file operations