added .sign and .verify