-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cypher.H
27 lines (25 loc) · 848 Bytes
/
Cypher.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/***********************************************************************
Cypher.H
BOOM : Bioinformatics Object Oriented Modules
Copyright (C)2012 William H. Majoros (martiandna@gmail.com).
This is OPEN SOURCE SOFTWARE governed by the Gnu General Public
License (GPL) version 3, as described at www.opensource.org.
***********************************************************************/
#ifndef INCL_Cypher_H
#define INCL_Cypher_H
#include "String.H"
namespace BOOM {
class Cypher
{
BOOM::String key;
public:
Cypher(const BOOM::String &key);
Cypher(const char *key,int len);
BOOM::String operator()(const BOOM::String &);
BOOM::String f(const char *p,int len);
BOOM::String operator()(const char *p,int len){return f(p,len);}
BOOM::String &getKey() {return key;}
const BOOM::String &getKey() const {return key;}
};
}
#endif