Also swith blocksize and count at the owncloud-specific key generation to ensure get as much bytes as you wanted.