## hashing – Why do sites store user data all in one user table? Why not separate with salted and hashed unique keys?

Say I’m a Big Company with a bunch of user data, including usernames, email addresses, and salted and hashed passwords. I recognize that I’m susceptible to attack in some way shape or form, despite everything that I’ve done to try to prevent an attacker from gaining access (phishing is stupidly effective, after all).

Suppose I want to separate a hacker from getting to more data. Would it not make more sense for me to set up one table with user data consisting of a unique identifier, their salted and hashed password, and any other relevant data, then create another table of email addresses that has two columns; the email address, and a unique key. However, that unique key is based on a salted and hashed version of the unique key from the original users table that can be replicated (assuming you know the salt and the algorithm used.)

Now, assuming someone enters maliciously, they will have to determine two sets of salts and hashes– one to decrypt the password, and one to decrypt which email address is associated with that username and password. Gaining the email addresses is still valuable for stuff like spam mail, but it’s now double the effort if someone wants to figure out how to log in as a user. This obviously is n

## sharepoint online – What happen to items with unique permission, if we should to have their list inherit its permission from the site rather than having unique permission

I am reading this official link inside Microsoft docs @ https://docs.microsoft.com/en-us/sharepoint/what-is-permissions-inheritance.. and the link mentioned the following sentence:-

When a user shares or stops sharing an item that contains other items
with broken inheritance, a one-time push down of that permission
addition or removal is sent to all child items, even those with broken
inheritance

but based on my test if I have a list which has unique permissions and this list contain items with unique permissions also >> then if I chose that the list should inherit the permissions from its site rather than having unique permission >> then this action will not push down to the items.. where the items will still have unique permissions.. so is the above sentence wrong? or i am missing something?

## dnd 5e – Is this homebrew shortbow unique item balanced? (second version)

Thanks everyone for the insightful advice you offered for the first iteration of this unique artifact for one of my players. If you’d like to read the background and initial considerations on this item, please refer to the previous question: Is this homebrew shortbow unique item balanced?

## Changes and considerations

• Reduced the amount of active abilities in favor of passive ones;
• Reduced the flat +1/+2/+3 bonus to hit and damage for a lower +0/+1/+2;
• Reworded and clarified the teleport ability, and made it a bit more “dangerous” to use;
• Clarified the Freedom of Movement aura ability, and made it shorter-ranged as well so that there’s more risk in jumping in the fray to help out a restrained ally;
• Changed damage type from force to radiant to stay closer to the theme;
• The line attack changed from a creature within 120 feet to a point within 80 feet, to match the range of the weapon and to make it a bit more versatile to use. Not sure if it’s really relevant or recommended;
• spread the damage increase across the levels and capped it to 1d10;
• Fly became passive and permanent instead of limited to 1h;
• Added a passive ability that would protect the user from conditions that could reduce their agency against manipulative monsters.

## Item levels reference points

• The item is going to be awarded somewhere around character level 6, and it’ll start from Dormant
• The item is going to be Awakened around level 10 or 11, depending on the roleplay of the user
• The item is going to be Exalted around level 15, with the same caveat as before.

Simple weapon, ranged weapon, artifact (requires attunement)

The shortbow is made of an extremely light wood with colors that vary between walnut and cherry. When exposed to dawn or dusk light, it shines with golden reflections. The grip is wrapped in soft, white leather that seems impervious to dust and grime. All along the upper and lower limbs of the bow, there’s a number of empty, unusually shaped grooves and slots.

Sentience: Eleutheria is a sentient Chaotic Good weapon with an Intelligence of 15, a Wisdom of 19 and a Charisma of 16. It has hearing and blindsight out to a range of 80 feet. The weapon communicates telepathically with its wielder and can speak, read, and understand Celestial and Sylvan.

Personality: A Curious, incautious and excitable Fey spirit lives within Eleutheria. It has an insatiable appetite for adventure, bold actions, and a very personal sense of justice and hatred for tyrants and bullies. The spirit wishes to learn more about the world and its inhabitants.

Dormant: The shortbow grants the following benefits in its dormant state:

• You can speak, read, and write Celestial and Sylvan.
• The attacks of this weapon are considered magical.
• The shortbow doesn’t need physical arrows when attacking. Translucent arrows of pure energy magically appear as soon as you draw the bow’s string.
• When you make an attack against an hostile creature using Eleutheria, you can use a bonus action to magically teleport to a space you can see within 15 feet of the target of that attack. You can’t use this property again until you take a short or long rest.
• While Eleutheria is on your person, you have Advantage on Intelligence (Investigation) checks made for detecting traps and Dexterity checks for attempting to pick locks on cages, manacles, or other restraints in order to free a trapped creature. If you aren’t proficient with Thieves’ Tools, you become proficient when picking locks on cages, manacles, or other restraints.

Awakened: When the shortbow reaches an awakened state, it gains the following properties:

• You gain a +1 bonus to attack and damage rolls made with this magic weapon.
• Your walking speed increases by 10 feet.
• The base damage die of this weapon becomes 1d8.
• While holding the shortbow, you can use a bonus action to evoke a gentle, warm (or cool, your choice) breeze to flow around you for the duration. For 1 hour, you and any creature of your choice will benefit from the effects of Freedom of Movement while they’re within 5 feet of you. You can’t use this property again until the next dawn.
• When you speak its command word, your arrow transforms into a beam of pure radiant energy, forming a line 5 feet wide that extends out from you to a point you can see within 80 feet of you. Each creature in the line, excluding you, must make a DC 16 Dexterity saving throw, taking 5d12 radiant damage on a failed save, or half as much damage on a successful one. This property can’t be used again until the next dawn.

Exalted: When the shortbow reaches an exalted state, it gains the following properties:

• The weapon’s bonus to attack and damage rolls increases to +2.
• The base damage die of this weapon becomes 1d10.
• You can channel the winds around you to support you in your movement. You gain a flying speed equal to your walking speed.
• While attuned to the shortbow, you can’t be charmed, frightened, petrified, or forced to be prone.

## google sheets – Extract the first three unique characters of a name to create a code

I have a column D where I store the VENDOR COMPANY NAME.
I have a column B where I want to calculate a SHORTCODE unique for each vendor. This code will be the first 3 letters of the VENDOR COMPANY NAME, Capitalised and unique in the Column B. If there is already a value of the same 3 letters in SHORTCODE, the next three letters of the name will be extracted, and so on.

For example, if I have a company name: ACME INDUSTRIES -> ACM will be extracted. If these is already a SHORTCODE with ACM in the column B, CME will be extracted. If CME already exists, MEI will be extracted, if that already exists EIN will be extracted. IF this value is unique it will be stored in the column B, SHORTCODE itself.

Currently I’m using the following formula, and have enabled Iterative Calculations in Google Sheets:

=IF(\$D12=””,””,IF((COUNTIF(\$B\$2:\$B,UPPER(LEFT(\$D12,3)))<1),(UPPER(LEFT(\$D12,3))),IF((COUNTIF(\$B\$2:\$B,UPPER(RIGHT(LEFT(\$D12,4),3)))<1),(UPPER(RIGHT(LEFT(\$D12,4),3))),IF((COUNTIF(\$B\$2:\$B,UPPER(RIGHT(LEFT(\$D12,5),3)))<1),(UPPER(RIGHT(LEFT(\$D12,5),3))),IF((COUNTIF(\$B\$2:\$B,UPPER(RIGHT(LEFT(\$D12,6),3)))<1),(UPPER(RIGHT(LEFT(\$D12,6),3))),”ERROR”)))))

The problem is that this code is very volatiles and keeps on changing, however I want fixed values?

Is there a way I can achieve this easily using formulas or Google app script?

Thanks

## hashing – From list to unique ID number AND back

If I have a series of list of the form $$L=$${$$a_1, a_2,…a_n$$} with $$-4 and $$a_iinmathbb Z$$, then I can make a unique ID number for $$L$$ using `ID=FromDigits(L+4)` and I can go back to $$L$$ using `First(RealDigits(ID))-4`.(If i am not mistaken)

For example if:

``````L={-3,-2,0,1,3}

ID=12457
``````

ID should be unique I think, and i can go from L to ID and from ID to L without ambiguity.

Now how should I adapt this process if $$-6, the problem is that now L+7 contains double digits numbers or decimal numbers…

Question : Is there an easy way that displays both unicity and reversibility and that is not time consuming (I have to go back from list to ID many many times) ? how would you do it ? I think I can do it using for example the alphabet and functions like `FromLetterNumber` but string ids are heavier to store than number

I think hashing is not collision free (I have about 11 000 000 such lists ) and it is not clear to me how I should go back from the hashcode to the list without storing additional information.

## I will creat unique amazon KDP book cover and ebook cover design for \$10

#### I will creat unique amazon KDP book cover and ebook cover design

Hello! This is Masud From designmaker784, and I’ve worked as a professional graphic designer for over 2 years. I’m experienced in Graphic Design and highly skilled in Adobe Photoshop & Adobe Illustrator. I’ve working experiences in Book cover design, ebook cover, kdp book cover, Illustration, Photo Editing, Hair masking, Image retouching, Background Removal, Clipping Path, Logo design, Business Card Design, colour change, image resize etc… I will provide you with high-quality services. I’m always ready to help you. Thank you so much.

.

## I will write unique content for your website or blog. for \$10

Select a reason you’re reporting this service

.

## Background

One of my players would like a magical bow, but I want something more than simply giving flat bonuses or extra damage/effects. Ideally it should be something that I can tie into her story/background/path, and that evolves and grows with her. I would like it to feel special, and flexible, but not overpowered. I’m fine with this to be a unique object and the center of her upcoming quests.

For who’s familiar with the world of Wildemount, this items follows loosely the format of Vestiges of Divergence, which are artifacts that "level up" with the wielder over time after key events (controlled by the DM) happen in game.

I’m looking for feedback about the power and viability of this item. I’m fine if the item has many cool uses outside of combat, but I want to avoid for it to be exceedingly effective in dealing damage or protecting the wearer compared to what the rest of the party can do. Unfortunately this item has to be a weapon, and has to give at least some basic bonus of combat capabilities, so it’s quite a fine line to walk.

## The Item:

### Chainbreaker

Simple weapon, ranged weapon, artifact (requires attunement)
1d6 piercing – ammunition (80/320 ft.), two-handed

The shortbow is made of an extremely light wood with a deep brown color which shines golden reflections when exposed to the dawn and dusk light. The grip is wrapped in soft, white leather that seems impervious to dust and grime. All along the upper and lower limbs of the bow, there’s a number of empty nooks and crannies.

Sentience: Chainbreaker is a sentient Chaotic Good weapon with an Intelligence of 15, a Wisdom of 19 and a Charisma of 16. It has hearing and blindsight out to a range of 120 feet. The weapon communicates telepathically with its wielder and can speak, read, and understand Celestial and Sylvan.

Personality: A Curious, incautious and excitable Fey spirit lives within Chainbreaker. It has an insatiable appetite for adventure, bold actions, and a very personal sense of justice and hatred for tyrants and bullies. The spirit wishes to learn more about the world and its inhabitants.

Dormant: The shortbow grants the following benefits in its dormant state:

• You gain a +1 bonus to attack and damage rolls made with this magic weapon.
• You can speak, read, and write Celestial and Sylvan.
• While holding the shortbow, you can use a bonus action to speak its Celestial command word, causing a flash of bright light to spark from the bow’s handle. The flash reveals for 1 minute all hidden traps within 120 ft. You can’t use this property again until you take a short or long rest.
• While holding the shortbow, after you complete an Attack action, you can use a bonus action to magically teleport within 30 feet of the target of your previous attack. You can’t use this property again until you take a short or long rest.

Awakened: When the shortbow reaches an awakened state, it gains the following properties:

• The weapon’s bonus to attack and damage rolls increases to +2.
• Your movement speed increases by 10 feet.
• While holding the shortbow, you can use a bonus action to speak its Sylvan command word, causing a gentle, warm (or cool, your choice) breeze to flow around you for the duration. For 1 hour, you and any creature of your choice within 20 feet of you will benefit from the effects of Freedom of Movement. You can’t use this property again until the next dawn.
• When you fire an arrow and speak a command word, it transforms into a bolt of pure force, forming a line 5 feet wide that extends out from you to a creature you can see within 120 feet of you. Each creature in the line, excluding you, must make a DC 15 Dexterity saving throw, taking 5d12 force damage on a failed save, or half as much damage on a successful one. This property can’t be used again until the next dawn.

Exalted: When the shortbow reaches an exalted state, it gains the following properties:

• The weapon’s bonus to attack and damage rolls increases to +3.
• You can channel the winds around you to support you in your movement. For 1 hour you gain a flying speed equal to your walking speed. This property can’t be used again until the next dawn.
• If you target a creature that is grappling or restraining one of your allies, you have advantage on all your attack rolls against that creature.
• The shortbow doesn’t need physical arrows when attacking. Translucent arrows of pure force magically appear as soon as you draw the bow’s string. The base damage die of this weapon becomes 1d12, and the damage type becomes force.

## The theme

This item is an artifact dedicated to a Goddess which values freedom, exploration, open spaces and hates injustice, bindings, and tyrants. I tried to keep it in the theme of the item with abilities for tactical teleport and bonuses when helping out people that are restrained by others. I’m fine with changing anything as long as it can be traced back to the theme.

## Possible problem areas

I’m wary of giving out items that increase the effectiveness in combat for a character. I’m aware of the bounded accuracy concept in D&D 5th edition. I would be fine with re-tuning the +1/+2/+3 fixed bonus.

This item has probably too many things going on for a player to actively keep in mind.

## math – Is it possible to store N bits of unique combinations, in N-1 bits? If not; why does MD5 get reprimanded for collissions?

Regarding cryptography and the issue of collisions, I posed a question as to whether it was ever possible to store every single possible combination of a bit array of a particular size, in a bit array that was at least one bit smaller, with apodictic certainty that no collision would occur.

The answer given to me by one fellow was no, and he used the following example:

``````Given 4 bits
0000
It has 16 possible combinations
Try storing 16 possible combinations in 3 bits:
000
``````

While this was seemingly obvious on the smaller scale, I wonder that if you scaled up, whether this would remain true, given that more bits will offer far more flexibility and options ( and yet conversely you requiring more combinations to account for ). I have a hard time imagining it NOT remaining true, however perhaps there is something I am overlooking.

Working under the presumption that this is not possible; Why is it that md5 is reprimanded for generating collisions:
https://en.wikipedia.org/wiki/MD5#Collision_vulnerabilities

When frankly given the principle, that literally no hash should be immune to this problem?