diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index 461f2a4688..07f24ec3dd 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -415,19 +415,24 @@
@if ($field->isFieldDecryptable($asset->{$field->db_column_name()} ))
@can('assets.view.encrypted_custom_fields')
- ********
-
- @if (($field->format=='URL') && ($asset->{$field->db_column_name()}!=''))
- {{ Helper::gracefulDecrypt($field, $asset->{$field->db_column_name()}) }}
- @elseif (($field->format=='DATE') && ($asset->{$field->db_column_name()}!=''))
- {{ \App\Helpers\Helper::gracefulDecrypt($field, \App\Helpers\Helper::getFormattedDateObject($asset->{$field->db_column_name()}, 'date', false)) }}
- @else
- {{ Helper::gracefulDecrypt($field, $asset->{$field->db_column_name()}) }}
- @endif
-
-
- {{ trans('general.copy_to_clipboard') }}
-
+ @php
+ $fieldSize=strlen(Helper::gracefulDecrypt($field, $asset->{$field->db_column_name()}))
+ @endphp
+ @if ($fieldSize>0)
+ {{ str_repeat('*', $fieldSize) }}
+
+ @if (($field->format=='URL') && ($asset->{$field->db_column_name()}!=''))
+ {{ Helper::gracefulDecrypt($field, $asset->{$field->db_column_name()}) }}
+ @elseif (($field->format=='DATE') && ($asset->{$field->db_column_name()}!=''))
+ {{ \App\Helpers\Helper::gracefulDecrypt($field, \App\Helpers\Helper::getFormattedDateObject($asset->{$field->db_column_name()}, 'date', false)) }}
+ @else
+ {{ Helper::gracefulDecrypt($field, $asset->{$field->db_column_name()}) }}
+ @endif
+
+
+ {{ trans('general.copy_to_clipboard') }}
+
+ @endif
@else
{{ strtoupper(trans('admin/custom_fields/general.encrypted')) }}
@endcan