iOS で独自のカスタム キーを使用して文字列を「ハッシュ」したいと考えています。重要なのは、反対のことも行うことです。
NSString *secretWord = @"Hello World!";
secretWord = [self hashWithKey:@"customKey"];
// secret Word is now something unreadable, like 'kjwlekjfoaijfoijwef'
NSLog(@"%@", [secretWord unhashWithKey:@"customKey"]); // prints 'Hello World!'
どうすればこのようなことを達成できますか?