Jump to content

Search the Community

Showing results for tags 'security'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 1 result

  1. Hi All, I am trying to study again on a Mifare reader, that i used to play with using this library on Arduino: https://github.com/marcboon/RFIDuino/tree/master/SL018">https://github.com/marcboon/RFIDuino/tree/master/SL018 When a tag is sensed, the demo program from the link above is displaying information like this: ### CMD_LOGIN - read@@Block 0C: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................@@Block 0D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................@@Block 0E: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................@@Block 0F: 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF .........i...... I used to believe the data are actually from the tag, but as i read more about the standard from the Internet, I became aware that Mifare provides sector encryption. So, I'm not sure the demo code will still give some data (garbage, zeros, or something else) on sectors that are encrypted, or the code will display error message instead. If anyone have used this library and can kindly teach me on this? I have studied the demo code and found that it is using a read login code that passes a "transport key" of 0xFF as in the void SL018::authenticate(byte sector) method : void SL018::authenticate(byte sector){ data[0] = 9; data[1] = CMD_LOGIN; data[2] = sector; data[3] = 0xAA; memset(data + 4, 0xFF, 6); transmitData(); } There is another method that accept a "decryption key" but it is not used in the demo code: void SL018::authenticate(byte sector, byte keyType, byte key[6]){ data[0] = 9; data[1] = CMD_LOGIN; data[2] = sector; data[3] = keyType; memcpy(data + 4, key, 6); transmitData(); } The demo code called the authenticate method with the standard "FF" (only one argument, the sector) on every write: ...else{ authenticated = false; rfid.authenticate(block >> 2); } Any hints will be much appreciated. Thanks in advance.
×