This is the open source encryption library we use: https://crypto.stanford.edu/sjcl/  We use this because we think transparency is important and encourage people to have a look themselves.