public void IssueNewKey() { var masterkey = Key.CreateFromBytes("masterkey", CryptUtil.CreateRandomBytesForKey()); var keyRing = new Secrets(); keyRing.Keys.Add(Secrets.IssueKey("user_key_1", masterkey)); keyRing.Keys.Add(Secrets.IssueKey("user_key_2", masterkey)); }