aboutsummaryrefslogtreecommitdiff
path: root/rsa/common.py
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2011-07-23 22:35:54 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2011-07-23 22:35:54 +0200
commit33cab035f8307f3e1e1b39b7571811c25152b81c (patch)
tree9f3567ddf794d1b5e54af4c2f7222f734f2c039c /rsa/common.py
parentbb43248bcb1025c31c7d8b98fe0b5fd1dc05cf2f (diff)
downloadrsa-33cab035f8307f3e1e1b39b7571811c25152b81c.tar.gz
Added Apache 2 license notice to source files
Diffstat (limited to 'rsa/common.py')
-rw-r--r--rsa/common.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/rsa/common.py b/rsa/common.py
index 7c852b6..573c427 100644
--- a/rsa/common.py
+++ b/rsa/common.py
@@ -1,5 +1,22 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
'''Common functionality shared by several modules.'''
+
import math
def bit_size(number):