base32.c revision 42e6c7ccddc92321a39872bc37da61a827181cc5
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott/*
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Base32 implementation
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Copyright 2010 Google Inc.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Author: Markus Gutschke
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Licensed under the Apache License, Version 2.0 (the "License");
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott you may not use this file except in compliance with the License.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott You may obtain a copy of the License at
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott http://www.apache.org/licenses/LICENSE-2.0
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Unless required by applicable law or agreed to in writing, software
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott distributed under the License is distributed on an "AS IS" BASIS,
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott See the License for the specific language governing permissions and
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott limitations under the License.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott Portions copyright 2015 ForgeRock AS.
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott */
32e8731870fc465a1440c2c6df232fe6b8f36cb0Robert Wapshott
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott/*************************************************************************
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * Base32 encode and decode functions.
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott *
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * Padding:
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * The RFC defines that encoding is performed in quantums of 8 encoded
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * characters. If the output string is less than a full quantum, it
42e6c7ccddc92321a39872bc37da61a827181cc5Robert Wapshott * will be padded with the '=' character to make a full quantum.
Error!

 

There was an error!

null

java.lang.NullPointerException