MadelineProtoDocs/old_docs/API_docs_v95/constructors/securePasswordKdfAlgoPBKDF2HMACSHA512iter100000.md

39 lines
916 B
Markdown
Raw Normal View History

2019-03-29 21:12:30 +01:00
---
title: securePasswordKdfAlgoPBKDF2HMACSHA512iter100000
2019-12-27 17:48:04 +01:00
description: PBKDF2 with SHA512 and 100000 iterations KDF algo
2019-03-29 21:12:30 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: securePasswordKdfAlgoPBKDF2HMACSHA512iter100000
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
PBKDF2 with SHA512 and 100000 iterations KDF algo
2019-03-29 21:12:30 +01:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|salt|[bytes](../types/bytes.md) | Yes|Salt|
### Type: [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md)
### Example:
```php
$securePasswordKdfAlgoPBKDF2HMACSHA512iter100000 = ['_' => 'securePasswordKdfAlgoPBKDF2HMACSHA512iter100000', 'salt' => 'bytes'];
```
Or, if you're into Lua:
```lua
securePasswordKdfAlgoPBKDF2HMACSHA512iter100000={_='securePasswordKdfAlgoPBKDF2HMACSHA512iter100000', salt='bytes'}
```