PicSafe uses RNCryptor for all encryption. RNCryptor is a cross-language AES Encrypter/Decrypter data format.
The data format includes all the metadata required to securely implement AES encryption, as described in "Properly encrypting with AES with CommonCrypto". Specifically, it includes:
The broad support of this format makes it easier for hospitals and institutions to integrate PicSafe into their medical record systems. There are implementations of RNCryptor in Swift, Objective-C, C, C++, C#, Erlang, Go, Haskell, Java, PHP, Python, Javascript, and Ruby.