API layer for TrueCrypt