Fortanix interview question

Task to use their api to encrypt/decrypt a text file using automation with python,java or bash