aboutsummaryrefslogtreecommitdiff
path: root/src/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimental')
-rw-r--r--src/experimental/blowfish.cpp7
-rw-r--r--src/experimental/blowfish.h7
-rw-r--r--src/experimental/cipher.cpp7
-rw-r--r--src/experimental/cipher.h7
-rw-r--r--src/experimental/random.cpp8
-rw-r--r--src/experimental/random.h8
-rw-r--r--src/experimental/randombase.cpp8
-rw-r--r--src/experimental/randombase.h8
-rw-r--r--src/experimental/randombasic.cpp15
-rw-r--r--src/experimental/randombasic.h25
10 files changed, 100 insertions, 0 deletions
diff --git a/src/experimental/blowfish.cpp b/src/experimental/blowfish.cpp
index 7ff8a4d..3da32a9 100644
--- a/src/experimental/blowfish.cpp
+++ b/src/experimental/blowfish.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/blowfish.h" 8#include "bu/blowfish.h"
2 9
3template class Bu::CipherModeEcb<8, Bu::Blowfish<1> >; 10template class Bu::CipherModeEcb<8, Bu::Blowfish<1> >;
diff --git a/src/experimental/blowfish.h b/src/experimental/blowfish.h
index 855ce2b..7e816ca 100644
--- a/src/experimental/blowfish.h
+++ b/src/experimental/blowfish.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef BU_BLOWFISH_H 8#ifndef BU_BLOWFISH_H
2#define BU_BLOWFISH_H 9#define BU_BLOWFISH_H
3 10
diff --git a/src/experimental/cipher.cpp b/src/experimental/cipher.cpp
index d6d01c7..e1ed0e5 100644
--- a/src/experimental/cipher.cpp
+++ b/src/experimental/cipher.cpp
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "bu/cipher.h" 8#include "bu/cipher.h"
2 9
3 10
diff --git a/src/experimental/cipher.h b/src/experimental/cipher.h
index 6e1fa69..a17030d 100644
--- a/src/experimental/cipher.h
+++ b/src/experimental/cipher.h
@@ -1,3 +1,10 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#ifndef BU_CIPHER_H 8#ifndef BU_CIPHER_H
2#define BU_CIPHER_H 9#define BU_CIPHER_H
3 10
diff --git a/src/experimental/random.cpp b/src/experimental/random.cpp
index e69de29..c792772 100644
--- a/src/experimental/random.cpp
+++ b/src/experimental/random.cpp
@@ -0,0 +1,8 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8
diff --git a/src/experimental/random.h b/src/experimental/random.h
index e69de29..c792772 100644
--- a/src/experimental/random.h
+++ b/src/experimental/random.h
@@ -0,0 +1,8 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8
diff --git a/src/experimental/randombase.cpp b/src/experimental/randombase.cpp
index e69de29..c792772 100644
--- a/src/experimental/randombase.cpp
+++ b/src/experimental/randombase.cpp
@@ -0,0 +1,8 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8
diff --git a/src/experimental/randombase.h b/src/experimental/randombase.h
index e69de29..c792772 100644
--- a/src/experimental/randombase.h
+++ b/src/experimental/randombase.h
@@ -0,0 +1,8 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8
diff --git a/src/experimental/randombasic.cpp b/src/experimental/randombasic.cpp
index e69de29..03bf7fe 100644
--- a/src/experimental/randombasic.cpp
+++ b/src/experimental/randombasic.cpp
@@ -0,0 +1,15 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#include "bu/randombasic.h"
9
10Bu::RandomBasic::RandomBasic() :
11 c( 6364136223846793005 ),
12 m( 1442695040888963407 )
13{
14}
15
diff --git a/src/experimental/randombasic.h b/src/experimental/randombasic.h
index e69de29..2ba7bd3 100644
--- a/src/experimental/randombasic.h
+++ b/src/experimental/randombasic.h
@@ -0,0 +1,25 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7#ifndef BU_RANDOM_BASIC_H
8#define BU_RANDOM_BASIC_H
9
10#include <stdint.h>
11
12namespace Bu
13{
14 class RandomBasic
15 {
16 public:
17 RandomBasic();
18 virtual ~RandomBasic();
19
20 private:
21 int64_t c, m, a;
22 };
23};
24
25#endif