cksum: improve performance slightly
base64: slightly improve decoding performance speed
Merge pull request #355 from Arcterus/perf

Performance improvements