---
title: BNNS.RandomGeneratorMethod.aesCtr
framework: accelerate
role: symbol
role_heading: Case
path: accelerate/bnns/randomgeneratormethod/aesctr
---

# BNNS.RandomGeneratorMethod.aesCtr

A constant that specifes an implementation that’s based on the Advanced Encryption Standard (AES) hash of a counter.

## Declaration

```swift
case aesCtr
```

## Discussion

Discussion important: Don’t use this method for cryptographic applications.
