aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/com/drivergrp/core/crypto.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/com/drivergrp/core/crypto.scala')
-rw-r--r--src/main/scala/com/drivergrp/core/crypto.scala19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/scala/com/drivergrp/core/crypto.scala b/src/main/scala/com/drivergrp/core/crypto.scala
deleted file mode 100644
index f693fa3..0000000
--- a/src/main/scala/com/drivergrp/core/crypto.scala
+++ /dev/null
@@ -1,19 +0,0 @@
-package com.drivergrp.core
-
-import com.drivergrp.core.auth.AuthToken
-
-object crypto {
-
- final case class EncryptionKey(value: String)
-
- final case class DecryptionKey(value: String)
-
- trait Crypto {
-
- def keyForToken(authToken: AuthToken): EncryptionKey
-
- def encrypt(encryptionKey: EncryptionKey)(message: Array[Byte]): Array[Byte]
-
- def decrypt(decryptionKey: EncryptionKey)(message: Array[Byte]): Array[Byte]
- }
-}