Skip to content

Instantly share code, notes, and snippets.

@bdrewery
Created July 3, 2011 18:28
Show Gist options
  • Select an option

  • Save bdrewery/1062450 to your computer and use it in GitHub Desktop.

Select an option

Save bdrewery/1062450 to your computer and use it in GitHub Desktop.

32: SIZEOF_LONG: 4 64: SIZEOF_LONG: 8

union bf_data {
  struct {
    unsigned long left;
    unsigned long right;
  } lr;
  BF_LONG bf_long;
};

data before encrypt

  • 64: {lr = {left = 1937076256, right = 1731211374}, bf_long = 1937076256}
  • 32: {lr = {left = 1937076256, right = 1731211374}, bf_long = 1937076256}

data after encrypt

  • 64: {lr = {left = 11720804534299585320, right = 1731211374}, bf_long = 3702975272}
  • 32: {lr = {left = 1285832095, right = 880115180}, bf_long = 1285832095}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment