This would crash if the length of ciphertext is less than 50, no?

Wondering if there's any idiomatic way to handle such slice cases in Go.