Base32Characters
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 36
1
<?php
2
/**
3
 * Class CharacterSets
4
 *
5
 * @filesource   Base32Characters.php
6
 * @created      29.02.2016
7
 * @package      chillerlan\Base32
8
 * @author       Smiley <[email protected]>
9
 * @copyright    2015 Smiley
10
 * @license      MIT
11
 */
12
13
namespace chillerlan\Base32;
14
15
/**
16
 *
17
 */
18
class Base32Characters{
19
20
	/**
21
	 * RFC3548
22
	 *
23
	 * The character set as defined by RFC3548
24
	 *
25
	 * @link http://www.ietf.org/rfc/rfc3548.txt
26
	 */
27
	const RFC3548 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
28
29
	/**
30
	 * csSafe
31
	 *
32
	 * This character set is designed to be more human friendly
33
	 * For example: i, I, L, l and 1 all map to 1
34
	 * Also: there is no U - to help prevent offencive output
35
	 *
36
	 * @link http://www.crockford.com/wrmg/base32.html
37
	 *
38
	 */
39
	const CROCKFORD = '0123456789ABCDEFGHJKMNPQRSTVWXYZ';
40
41
	/**
42
	 * cs09AV
43
	 *
44
	 * This character set follows the example of the hex
45
	 * character set and is included to make this class
46
	 * compatible with MIME::Base32
47
	 *
48
	 * @link http://search.cpan.org/~danpeder/MIME-Base32-1.01/Base32.pm
49
	 *
50
	 */
51
	const MIME_09AV = '0123456789ABCDEFGHIJKLMNOPQRSTUV';
52
53
}
54