s/key implementation