---
title: minPINLength
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcardpinformat/minpinlength
---

# minPINLength

The minimum number of characters to form a valid PIN. 4 by default.

## Declaration

```swift
var minPINLength: Int { get set }
```

## See Also

### Configuring PIN Formatting

- [charset](cryptotokenkit/tksmartcardpinformat/charset-swift.property.md)
- [encoding](cryptotokenkit/tksmartcardpinformat/encoding-swift.property.md)
- [maxPINLength](cryptotokenkit/tksmartcardpinformat/maxpinlength.md)
- [pinBlockByteLength](cryptotokenkit/tksmartcardpinformat/pinblockbytelength.md)
- [pinJustification](cryptotokenkit/tksmartcardpinformat/pinjustification.md)
- [pinBitOffset](cryptotokenkit/tksmartcardpinformat/pinbitoffset.md)
- [pinLengthBitOffset](cryptotokenkit/tksmartcardpinformat/pinlengthbitoffset.md)
- [pinLengthBitSize](cryptotokenkit/tksmartcardpinformat/pinlengthbitsize.md)
