Comments (4)
Released in version 2.7.4.
from php-iban.
Thanks for the feature request.
I am not completely sure I understand what you mean.
An IBAN is a public identifier. To provide any utility at all, it needs to be shared completely.
If you are suggesting that only part of an IBAN is shared identification purposes (as credit card numbers are sometimes presented: 4217 **** **** 3412
) then I don't think that's a common or recommended use case. However, I can understand the general thinking.
Generally this is done with credit cards when, for example, the user can store multiple credit cards along with their account and instead of repeating the information the cards are presented for 'relative identification' (which is which) instead of 'absolute identification' (use this for a transaction).
The challenge with an IBAN is that all countries' IBAN have different structures. Some of them have greater variation away from the final few digits.
This is a good feature request. I will implement it. Thanks.
from php-iban.
I have decided to avoid the checksum digits as they may be used to infer the other digits with knowledge of local banks and branches (some countries have very few valid banks and branches). Therefore, I have decided to implement the obfuscation with only the country code followed by asterisks and the last four characters of the IBAN.
from php-iban.
Here is the sample output (source followed by obfuscated form).
MK07 5007 0100 0133 139
MK** **** **** ***3 139
MR13 0002 0001 0100 0012 3456 753
MR** **** **** **** **** ***6 753
NE58 NE03 8010 0100 1303 0500 0268
NE** **** **** **** **** **** 0268
NI92 BAMC 0000 0000 0000 0000 0312 3123
NI** **** **** **** **** **** **** 3123
NL91 ABNA 0417 1643 00
NL** **** **** **43 00
from php-iban.
Related Issues (20)
- Breaking namespace issue HOT 2
- IBAN secret or not HOT 1
- Strangeness on registry.txt in Timor-Leste HOT 3
- 2.8.x is not compatible HOT 12
- Version 3.0 mentioned in README.md but 2.8.0 is the last one available via composer (at the packageist.org) HOT 7
- compatible with php 7.4 HOT 2
- Missing dot for version 3.0.3 (released as 3.03) HOT 2
- docs/COMEDY-OF-ERRORS: IBAN registry moved again HOT 2
- How to use php-iban?
- PHP 7.4 - Exception message: Warning: array_key_exists() expects parameter 2 to be array HOT 1
- Check for EU/EFTA/Other Countries HOT 2
- Does it really generate IBAN? HOT 1
- Add PHP 8.0 support
- Irland IBAN not working correctly HOT 3
- PHP 8.2 compatibility HOT 1
- bban_bankid_start_offset & bban_bankid_stop_offset for GB & MT ibans not correct HOT 6
- CZ IBAN incorect verify_iban HOT 3
- IBAN validation fails incorrectly HOT 1
- PHP array registry would be more efficient HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-iban.