aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/rsacomb/RSASuffix.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/rsacomb/RSASuffix.scala')
-rw-r--r--src/main/scala/rsacomb/RSASuffix.scala20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/scala/rsacomb/RSASuffix.scala b/src/main/scala/rsacomb/RSASuffix.scala
new file mode 100644
index 0000000..f15d01b
--- /dev/null
+++ b/src/main/scala/rsacomb/RSASuffix.scala
@@ -0,0 +1,20 @@
1package rsacomb
2
3sealed trait RSASuffix {
4 def getSuffix: String;
5}
6
7object RSASuffix {
8
9 case object None extends RSASuffix {
10 def getSuffix: String = ""
11 }
12
13 case object Forward extends RSASuffix {
14 def getSuffix: String = "_f"
15 }
16
17 case object Backward extends RSASuffix {
18 def getSuffix: String = "_b"
19 }
20}