Removes key length check
Put signature in appropriate header