A method and system for embedding a secret in a bit string for safeguarding the secret. In one embodiment, the method comprises computing the length of the overall bit string as a function of q and t, where q and t are determined from the length of the secret. The method further comprises generating...http://www.google.se/patents/US8068606?utm_source=gb-gplus-sharePatent US8068606 - Embedding a secret in a bit string for safeguarding the secret