Partial implementation.
Pad and unpad in constant(ish) time.
Merge branch 'feature/unpad-constant-time' into develop