public static bool ToStream(EncryptionKey encryptionKey, Stream stream) => encryptionKey.Write(stream);