【发布时间】:2015-08-07 01:35:30
【问题描述】:
给定
trait CipherService {
def decryptData(data: Array[Byte])(implicit ec: ExecutionContext): Future[DecryptionError \/ Array[Byte]
def encryptEncrypt(data: Array[Byte)(implicit ec: ExecutionContext): Future[EncryptionError \/ Array[Byte]]
}
如何使用EssentialFilter 实现请求解密和响应加密?感觉就像我被 Enumeratee 和 Iteratee API 所困。
【问题讨论】:
标签: scala encryption playframework playframework-2.0 iterate