static private int
paddingToBlockLen(int padlen) {
	switch (padlen) {
	case 6:
		return 1;
	case 4:
		return 2;
	case 3:
		return 3;
	case 1:
		return 4;
	case 0:
		return 5;
	default :
		return -1;
	}
}
Creates an object that can be used to do base32 conversions.
@param alphabet Which alphabet should be used
@param padding Whether padding should be used
@param lowercase Whether lowercase characters should be used.
default parameters (The standard base32 alphabet, no padding, uppercase)
src/main/java/core/org/xbill/DNS/utils/base32.java