postition not needed as the buffer always starts with 0
lock object not requiered, was for testing only
Adding the possibility to sign messages with different keys.