variable length of sha2