# `GSRandomNumberGenerator seedForString:`

*Type Method*

Produces a seed specific to the given string.

## Declaration

```swift
class func seed(for string: String) -> UInt64
```

```objc
+ (uint64_t) seedForString:(NSString *) string;
```

```python
seedForString_(string: str) -> int
```

## Discussion

This seed is not cryptographically secure, uniform, or otherwise suitable as a hash value. It can be used as a seed for random number generation of insecure RNG sequences.

